package com.service;

import com.model.Role;

import java.util.List;

/**
 * Created by Administrator on 2017/8/31.
 */
public interface RoleService {
    public List<Role> getRoleList(Role role);
    public int createRole(Role role);
    public int modifyRole(Role role);
    public int changeStatus(Role role);
    public int deleteRole(Role role);
    public int checkExist(Role role);
    public String getRoleNameById(Role role);
    public List<Role> getAllRoles();
}
